
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jq.js"></script>
    <style>.div0{width: 300px;height: 190px;border: solid 1.5px;padding: 5px;}</style>
</head>
<body>
    <div class="div0">
       

        <input type="button" value="打开窗口"  id="button">
      
    </div>
    <script>
        $("#button").click(function(){
    $.ajax({url:"data.html",success:function(result){
        
	window.open("xw1.html");

    }});
  
});

    </script>
</body>
</html>